package com.sia.springcloud.service;

import com.sia.springcloud.model.Point;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 通信协议变量表 服务类
 * </p>
 *
 * @author Sirius
 * @since 2021-12-27
 */
public interface IPointService extends IService<Point> {
    /**
     * 添加点位
     *
     * @param request
     * @return
     */
    String insertPoint(HttpServletRequest request);

    /**
     * 根据设备分页查询点位
     *
     * @param request
     * @return
     */
    String queryPoint(HttpServletRequest request);


    /**
     * 删除点位
     *
     * @param request
     * @return
     */
    String deletePoint(HttpServletRequest request);

    /**
     * 修改点位
     *
     * @param request
     * @return
     */
    String updatePoint(HttpServletRequest request);


    /**
     * 获取点位表单格式
     * @return
     */
    String tableStructure(HttpServletRequest request);
}
